package com.ruoyi.mall.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 购买优惠包记录表对象 mall_package_record
 * 
 * @author ruoyi
 * @date 2020-05-28
 */
public class MallPackageRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 优惠包购买Id */
    private Long packageRecordId;

    /** 优惠包Id */
    @Excel(name = "优惠包Id")
    private Long packageId;

    /** null */
    @Excel(name = "null")
    private Long membersId;

    private MallMembers members;

    public MallMembers getMembers() {
        return members;
    }

    public void setMembers(MallMembers members) {
        this.members = members;
    }

    public MallPackages getMallPackages() {
        return mallPackages;
    }

    public void setMallPackages(MallPackages mallPackages) {
        this.mallPackages = mallPackages;
    }

    private MallPackages mallPackages;

    /** null */
    @Excel(name = "null")
    private Double money;

    public void setPackageRecordId(Long packageRecordId) 
    {
        this.packageRecordId = packageRecordId;
    }

    public Long getPackageRecordId() 
    {
        return packageRecordId;
    }
    public void setPackageId(Long packageId) 
    {
        this.packageId = packageId;
    }

    public Long getPackageId() 
    {
        return packageId;
    }
    public void setMembersId(Long membersId) 
    {
        this.membersId = membersId;
    }

    public Long getMembersId() 
    {
        return membersId;
    }
    public void setMoney(Double money) 
    {
        this.money = money;
    }

    public Double getMoney() 
    {
        return money;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("packageRecordId", getPackageRecordId())
            .append("packageId", getPackageId())
            .append("createTime", getCreateTime())
            .append("membersId", getMembersId())
            .append("money", getMoney())
            .toString();
    }
}
